package com.ruoyi.project.manhua.chapter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 漫画章节 对象 mh_chapter
 *
 * @author yuan
 * @date 2021-01-20
 */
public class MhChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 漫画名称 */
    @Excel(name = "漫画名称")
    private String nameName;

    /** 漫画id */
    @Excel(name = "漫画id")
    private Long nameId;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String name;

    /** 章节的顺序 */
    @Excel(name = "章节的顺序")
    private Integer nameOrder;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    public MhChapter() {
    }

    public MhChapter(Long nameId) {
        this.nameId = nameId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNameName(String nameName)
    {
        this.nameName = nameName;
    }

    public String getNameName()
    {
        return nameName;
    }
    public void setNameId(Long nameId)
    {
        this.nameId = nameId;
    }

    public Long getNameId()
    {
        return nameId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNameOrder(Integer nameOrder)
    {
        this.nameOrder = nameOrder;
    }

    public Integer getNameOrder()
    {
        return nameOrder;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nameName", getNameName())
                .append("nameId", getNameId())
                .append("name", getName())
                .append("nameOrder", getNameOrder())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}